\section{Testing}
\begin{frame}{Testing - SW verification}
\begin{table}[h]
\centering
\begin{tabular}{ l | l }
Method & Characteristics\\ \hline
EEP & Generation size: 96\\ \hline
UEP & Generation size: 96\\
(Expanding & Layer 1: Size: 32, $\boldsymbol \Gamma_1$: 0.3 | 0.4 | 0.5 \\
Windows) & Layer 2: Size: 96, $\boldsymbol \Gamma_2$: 0.7 | 0.6 | 0.5 \\
%  & Layer 3: Size: 96, $\Gamma_3$: ...\\ \hline
\end{tabular}
\caption{5.1, Page 61}
\end{table}
\end{frame}

\begin{frame}{Testing - SW verification}
Difference plot between SW and analytical, 1st is L1, 2nd is L2.
\begin{figure} \centering
\includegraphics[width=0.7\textwidth]{../plotting/uep/difference_analysis/l1_ew_dif_prac}\\
\includegraphics[width=0.7\textwidth]{../plotting/uep/difference_analysis/l2_ew_dif_prac}
\end{figure}
\end{frame}

\begin{frame}{Testing - On Video Data}
\begin{itemize}
\item Testing procedure
\item Applying overhead
\end{itemize}
\begin{figure}[h!]
\centering
\resizebox{1.0\linewidth}{!}{
	\begin{tikzpicture}[->=stealth',auto, semithick,]
	\tikzstyle{every state}=[rectangle, fill=white, text=black,minimum height=1.5cm, minimum width=2.6cm, node distance=3.2cm,align=center,font=\scriptsize]
		\node[state,initial] (GOP) {Gather new GOP\\into a generation};
		\node[state, right of=GOP] (encode) {Create linear\\combinations from\\layer chosen with $\mathbf{\Gamma}$};
		\node[state, right of=encode] (decode) {Decode linear\\combinations};
		\node[state, right of=decode] (log) {Save info:\\Packets needed\\for each layer\\to decode};
		
		\path (GOP) edge[->,shorten >=1pt] (encode);
		\path (encode) edge[->,shorten >=1pt] (decode);
		\path (decode) edge[->,shorten >=1pt] node[yshift=0.7cm] {\tiny{If GOP decoded}} (log);
		
%		\path (decode.south) edge[bend left] node[above,yshift=0.1cm] {\tiny{While not decoded}} (encode.south);
		\draw[-] (decode.south) -- ([yshift=-0.8cm]decode.south);
		\draw[-] ([yshift=-0.8cm]decode.south) -- node[above] {\tiny{While not decoded}} ([yshift=-0.8cm]encode.south);
		\draw[->,shorten >=1pt] ([yshift=-0.8cm]encode.south) -- (encode.south);
		
%		\path (log.south) edge[bend left] node[above, yshift=0.05cm] {\tiny{While video has not ended}} (GOP.south);
		\draw[-] (log.south) -- ([yshift=-1.5cm]log.south);
		\draw[-] ([yshift=-1.5cm]log.south) -- node[above,yshift=0.01cm] {\tiny{While video has not ended}} ([yshift=-1.5cm]GOP.south);
		\draw[->,shorten >=1pt] ([yshift=-1.5cm]GOP.south) -- (GOP.south);

	\end{tikzpicture}}
\caption{5.2, Page 64}
\label{fig:videotest_sequence}
\end{figure}
\end{frame}

\begin{frame}{Testing - On Video Data}
\begin{figure} \centering
\subfloat[$\boldsymbol \Gamma_1=0.30$.]{\includegraphics[width=0.45\textwidth]{../rapport/figs/testvideo30}} 
\subfloat[$\boldsymbol \Gamma_1=0.35$.]{\includegraphics[width=0.45\textwidth]{../rapport/figs/testvideo35}}
\caption{5.4, Page 69}
\end{figure}
\end{frame}

\begin{frame}{Testing - On Video Data}
\begin{figure} \centering
\ContinuedFloat
\subfloat[$\boldsymbol \Gamma_1=0.40$.]{\includegraphics[width=0.45\textwidth]{../rapport/figs/testvideo40}}
\subfloat[$\boldsymbol \Gamma_1=0.45$.]{\includegraphics[width=0.45\textwidth]{../rapport/figs/testvideo45}}
\caption{5.4, Page 69}
\end{figure}
\end{frame}

\begin{frame}{Testing - On Video Data}
\begin{figure} \centering
\ContinuedFloat
\subfloat[$\boldsymbol \Gamma_1=0.50$.]{\includegraphics[width=0.45\textwidth]{../rapport/figs/testvideo50}}
\subfloat[$\boldsymbol \Gamma_1=0.70$.]{\includegraphics[width=0.45\textwidth]{../rapport/figs/testvideo70}}
\caption{5.4, Page 69}
\end{figure}
\end{frame}
